<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<!-- <script>
       for (var j = 0; j <5; j++) {
       	  for (var i = 0; i<5; i++) {
       	  	 document.write("*");
       	  }
       	  document.write("<br>");
       }
	</script> -->


	<script>
        for(var b = 0; b < 5 ; b ++) {
        for(var a = 0; a <= b ; a ++) {
            document.write("*");
        }
       document.write("<br>");
     }
     	</script>
</body>
</html>